<!DOCTYPE html PUBdivC "-//W3C//Ddiv XHTML 1.0 ulansitional//EN" "http://www.w3.org/ul/xhtml1/Ddiv/xhtml1-ulansitional.ddiv">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
#A{ width:600px; height:26px; margin:0 auto; background:#FFC;border:solid 1px #d5d5d5; border-bottom:0px;}
#B{ width:600px; height:200px; margin:0 auto; background:#6FF;border:solid 1px #d5d5d5; border-top:0px;}
#A div{ float:left;cursor:pointer;text-align:center; height:26px; line-height:26px;}
#B div{cursor:pointer; text-align:left;}
.newsout{background:url(pic/newsbg.jpg) repeat-x;border:solid 1px #d5d5d5; border-top:0px; font-size:14px; text-align:center; width:148px;}
.newsover{font-size:14px; font-weight:bold; color:#e4332a; width:150px;}
.newsoutfirst{background:url(pic/newsbg.jpg) repeat-x; border:solid 1px #d5d5d5; border-top:0px; border-left:0px; font-size:14px; text-align:center; width:149px;}
.newsoverfirst{font-size:14px; font-weight:bold; color:#e4332a;width:150px;}
.newsoutlast{background:url(pic/newsbg.jpg) repeat-x;border:solid 1px #d5d5d5; border-top:0px; border-right:0px; font-size:14px;width:149px;}
.newsoverlast{font-size:14px; font-weight:bold; color:#e4332a;width:150px;}
</style>
<script>
function  MenuTabNews(Menu,NowNum,TolNum)
	{
	 
	 for(var i=1;i<TolNum+1;i++)
		{	
			controlID=Menu+i;
			if(i==1)
			{
				document.getElementById(controlID).className="newsoutfirst";
			}
			else if(i==TolNum)
			{
				document.getElementById(controlID).className="newsoutlast";
			}
			else
			{
				document.getElementById(controlID).className="newsout";
			}

			controlID=Menu+"con"+i;
			document.getElementById(controlID).style.display="none";
		}
		controlID=Menu+NowNum;
		if(NowNum==1)
		{
		  document.getElementById(controlID).className="newsoverfirst";
		}
		else if(NowNum==TolNum)
		{
		  document.getElementById(controlID).className="newsoverlast";
		}
		else
		{
		  document.getElementById(controlID).className="newsover";
		}
		controlID=Menu+"con"+NowNum;
		document.getElementById(controlID).style.display="";
	}
function  MenuTabCommon(Menu,NowNum,TolNum,classname)
	{
	 
	 for(var i=1;i<TolNum+1;i++)
		{	
			controlID=Menu+i;
			if(i==1)
			{
				document.getElementById(controlID).className=classname+"outfirst";
			}
			else if(i==TolNum)
			{
				document.getElementById(controlID).className=classname+"outlast";
			}
			else
			{
				document.getElementById(controlID).className=classname+"out";
			}

			controlID=Menu+"con"+i;
			document.getElementById(controlID).style.display="none";
		}
		controlID=Menu+NowNum;
		if(NowNum==1)
		{
		  document.getElementById(controlID).className=classname+"overfirst";
		}
		else if(NowNum==TolNum)
		{
		  document.getElementById(controlID).className=classname+"overlast";
		}
		else
		{
		  document.getElementById(controlID).className=classname+"over";
		}
		controlID=Menu+"con"+NowNum;
		document.getElementById(controlID).style.display="";
	}
</script>
</head>

<body>
<div id="A">
<div id="newstab1" oncdivck="OpenWin('/shfx/subywzx/002001')" onMouseOver="MenuTabNews('newstab',1,4)" class="newsoverfirst">奉贤要闻</div>
<div id="newstab2" oncdivck="OpenWin('/shfx/subywzx/002002')" onMouseOver="MenuTabNews('newstab',2,4)" class="newsout">政务动态</div>
<div id="newstab3" oncdivck="OpenWin('/shfx/subywzx/002004')" onMouseOver="MenuTabNews('newstab',3,4)" class="newsout">奉视新闻</div>
<div id="newstab4" oncdivck="OpenWin('/shfx/subywzx/002003')" onMouseOver="MenuTabNews('newstab',4,4)" class="newsoutlast">媒体关注</div>
</div>
<div id="B">
<div id="newstabcon1">11</div>
<div id="newstabcon2" style="display:none;">22</div>
<div id="newstabcon3" style="display:none;">33</div>
<div id="newstabcon4" style="display:none;">4333</div>
</div>
</body>
</html>
